import request from "@/utils/request";

export function getData(params) {
  return request({
    url: `/interaction/sound/list`,
    method: "get",
    params
  });
}

export function postData(data) {
  return request({
    url: `/interaction/sound/addandup`,
    method: "post",
    data
  });
}

export function postStatusData(id) {
  return request({
    url: `/interaction/sound/changestatus`,
    method: "post",
    data: { id }
  });
}

export function postDeleteData(ids) {
  return request({
    url: `/interaction/sound/delete`,
    method: "post",
    data: { ids }
  });
}
